﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LimpaGaragem.BLL.Product
{
    public class TransactionType
    {
        /// <summary>
        /// Return list of status
        /// </summary>
        /// <returns></returns>
        public List<LimpaGaragem.Model.Product.TransactionType> GetListOfTransactionType()
        {
            try
            {
                return new LimpaGaragem.DAO.Product.TransactionType().GetListOfTransactionType();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        /// <summary>
        /// Return data of status
        /// </summary>
        /// <returns></returns>
        public LimpaGaragem.Model.Product.TransactionType GetTransactionType(int IDTransactionType)
        {
            try
            {
                return new LimpaGaragem.DAO.Product.TransactionType().GetTransactionType(IDTransactionType);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
